]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
portalHelper: Require GTK 3.0
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Jan 2020 08:23:48 +0000 (09:23 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Jan 2020 16:39:18 +0000 (17:39 +0100)
When multiple versions of a typelib are available, GI will pick the
highest one unless an explicit version is requested. So as GTK 4.0
is becoming a thing, it's time to do that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970

js/portalHelper/main.js

index dc062a279ba8873a0b93898d28d6cfd6bb81aa0e..b0e568dacb5a1cbd9b08eeeda5a882c404c743f3 100644 (file)
@@ -1,4 +1,6 @@
 /* exported main */
+imports.gi.versions.Gtk = '3.0';
+
 const Format = imports.format;
 const Gettext = imports.gettext;
 const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi;